package JitTest;

import commander.CLI;
import org.junit.Test;

public class test2_JitHash {
    @Test
    public void test() throws Exception {
        // 初始化仓库
        String[] sInit1 = {"jit","init","C:\\Users\\Alphamxy\\Desktop\\test"};
        CLI.jitInit(sInit1);

        // 工作区创建Text文件夹，文件夹内有一个"textA.txt",文本内容为"textA.txt"
//        JitHash.hash("2.txt");
//        JitHash.hash("Text");

        String[] sInit2 = {"jit","hash","1.txt","2.txt","3.txt","4.txt","5.txt"};
        CLI.main(sInit2);
    }
}